gtk-demo: Modernize source highlighting
authorMatthias Clasen <mclasen@redhat.com>
Fri, 7 Aug 2020 13:21:29 +0000 (09:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Aug 2020 15:54:10 +0000 (11:54 -0400)
commit05255bfc90310445dae52683ce45729e599d078b
treedd4adb95c40311933b795ee320f6200920ad4a27
parent41ef2c5f341687cd834792986643c893a654cfdf
gtk-demo: Modernize source highlighting

Drop the homegrown highlighting code, and just use highlight
to produce Pango markup.

When using an external highlighter, we can also highlight css,
xml, headers, at least.
demos/gtk-demo/main.c